package model;


/**
 * Saves user into the model. Child classes will be actually used instead (yes, we know it could be abstract...)
 * 
 * <p>
 * <ul>
 * <li>Project: 		ChatSystemG3</li>
 * <li>Called by: 		Model</li>
 * </ul>
 * </p>
 * 
 * @author COMBES Nicolas - LECHANTRE Arnaud
 */
public class User {

	/**
	 * Username
	 */
	private String name;	
	
	/**
	 * Construct
	 * @param name : name of the user
	 */
	public User(String name) {
		super();
		this.name = name;
	}
	
	/**
	 * getName
	 * @return username
	 */
	public String getName() {
		return name;
	}
	
	/**
	 * setName; Saves the name of the user
	 * @param name : name of the user
	 */
	public void setName(String name) {
		this.name = name;
	}
	
	
	
}
